﻿using ThresholdAssistant.Enums;
using ProtoBuf;
using System;

namespace ThresholdAssistant.Attributes.Models
{
    /// <summary>
    /// 商户模型
    /// </summary>
    [Serializable, ProtoContract]
    public class MerchantModel
    {
        /// <summary>
        /// 商户号
        /// </summary>
        [ProtoMember(1)]
        public string MerchantNo { get; set; }

        /// <summary>
        /// 商户名称
        /// </summary>
        [ProtoMember(2)]
        public string MerchantName { get; set; }

        /// <summary>
        /// Md5密钥
        /// </summary>
        [ProtoMember(3)]
        public string Md5Key { get; set; }

        /// <summary>
        /// 密钥Key
        /// </summary>
        [ProtoMember(4)]
        public string SecretKey { get; set; }

        /// <summary>
        /// 商户状态
        /// </summary>
        [ProtoMember(5)]
        public MerchantStatusEnum Status { get; set; }
    }
}